<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libyubihsm: yh_log_entry Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libyubihsm
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">yh_log_entry Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Logging struct as returned by device.  
 <a href="structyh__log__entry.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:adbdbdd10828646a96f67438062c909c8"><td class="memItemLeft" align="right" valign="top"><a id="adbdbdd10828646a96f67438062c909c8"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structyh__log__entry.html#adbdbdd10828646a96f67438062c909c8">number</a></td></tr>
<tr class="memdesc:adbdbdd10828646a96f67438062c909c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Monotonically increasing index. <br /></td></tr>
<tr class="separator:adbdbdd10828646a96f67438062c909c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1932210758f5649c94e0a7758040b48"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structyh__log__entry.html#ad1932210758f5649c94e0a7758040b48">command</a></td></tr>
<tr class="memdesc:ad1932210758f5649c94e0a7758040b48"><td class="mdescLeft">&#160;</td><td class="mdescRight">What command was executed.  <a href="#ad1932210758f5649c94e0a7758040b48">More...</a><br /></td></tr>
<tr class="separator:ad1932210758f5649c94e0a7758040b48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd847b85c49faf8f3bb88876fe56cf2f"><td class="memItemLeft" align="right" valign="top"><a id="abd847b85c49faf8f3bb88876fe56cf2f"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structyh__log__entry.html#abd847b85c49faf8f3bb88876fe56cf2f">length</a></td></tr>
<tr class="memdesc:abd847b85c49faf8f3bb88876fe56cf2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Length of in-data. <br /></td></tr>
<tr class="separator:abd847b85c49faf8f3bb88876fe56cf2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a925f85bbcea7077e632e1699d32dfbe2"><td class="memItemLeft" align="right" valign="top"><a id="a925f85bbcea7077e632e1699d32dfbe2"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structyh__log__entry.html#a925f85bbcea7077e632e1699d32dfbe2">session_key</a></td></tr>
<tr class="memdesc:a925f85bbcea7077e632e1699d32dfbe2"><td class="mdescLeft">&#160;</td><td class="mdescRight">ID of Authentication Key used. <br /></td></tr>
<tr class="separator:a925f85bbcea7077e632e1699d32dfbe2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab866b36403547d518733745c090f69cc"><td class="memItemLeft" align="right" valign="top"><a id="ab866b36403547d518733745c090f69cc"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structyh__log__entry.html#ab866b36403547d518733745c090f69cc">target_key</a></td></tr>
<tr class="memdesc:ab866b36403547d518733745c090f69cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">ID of first Object used. <br /></td></tr>
<tr class="separator:ab866b36403547d518733745c090f69cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a248294c48b017749865e97c22fee57ce"><td class="memItemLeft" align="right" valign="top"><a id="a248294c48b017749865e97c22fee57ce"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structyh__log__entry.html#a248294c48b017749865e97c22fee57ce">second_key</a></td></tr>
<tr class="memdesc:a248294c48b017749865e97c22fee57ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">ID of second Object used. <br /></td></tr>
<tr class="separator:a248294c48b017749865e97c22fee57ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31bb67d7241b0cdd25d36cee65d4b6da"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structyh__log__entry.html#a31bb67d7241b0cdd25d36cee65d4b6da">result</a></td></tr>
<tr class="memdesc:a31bb67d7241b0cdd25d36cee65d4b6da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command result.  <a href="#a31bb67d7241b0cdd25d36cee65d4b6da">More...</a><br /></td></tr>
<tr class="separator:a31bb67d7241b0cdd25d36cee65d4b6da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32bf3bd463165110201f585222616ee4"><td class="memItemLeft" align="right" valign="top"><a id="a32bf3bd463165110201f585222616ee4"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structyh__log__entry.html#a32bf3bd463165110201f585222616ee4">systick</a></td></tr>
<tr class="memdesc:a32bf3bd463165110201f585222616ee4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Systick at time of execution. <br /></td></tr>
<tr class="separator:a32bf3bd463165110201f585222616ee4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e8ca2892b29342aa721e5a9917fabed"><td class="memItemLeft" align="right" valign="top"><a id="a0e8ca2892b29342aa721e5a9917fabed"></a>
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structyh__log__entry.html#a0e8ca2892b29342aa721e5a9917fabed">digest</a> [<a class="el" href="yubihsm_8h.html#a289ca46f5ef481980f0fad98d727e87a">YH_LOG_DIGEST_SIZE</a>]</td></tr>
<tr class="memdesc:a0e8ca2892b29342aa721e5a9917fabed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Truncated sha256 digest of this last digest + this entry. <br /></td></tr>
<tr class="separator:a0e8ca2892b29342aa721e5a9917fabed"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Logging struct as returned by device. </p>
<dl class="section see"><dt>See also</dt><dd><a href="https://developers.yubico.com/YubiHSM2/Concepts/Logs.html">Objects</a> </dd></dl>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="ad1932210758f5649c94e0a7758040b48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1932210758f5649c94e0a7758040b48">&#9670;&nbsp;</a></span>command</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t yh_log_entry::command</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>What command was executed. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="yubihsm_8h.html#aa5415bafa9c48dfef0e183d8df504b7e" title="Command definitions. ">yh_cmd</a> </dd></dl>

</div>
</div>
<a id="a31bb67d7241b0cdd25d36cee65d4b6da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31bb67d7241b0cdd25d36cee65d4b6da">&#9670;&nbsp;</a></span>result</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t yh_log_entry::result</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Command result. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="yubihsm_8h.html#aa5415bafa9c48dfef0e183d8df504b7e" title="Command definitions. ">yh_cmd</a> </dd></dl>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="yubihsm_8h_source.html">yubihsm.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
